package com.shop.bank.dao;

import com.shop.bank.pojo.Account;
import com.shop.bank.pojo.Transactionrecord;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Repository
public interface AccountMapper {

    /**
     * 登录
     */
    int loginn(Account account);

    BigDecimal moneyselect(String cardNo);

   int zzjian(Map map);

   int zzjia(Map map);

   int updatepwd(Map map);

   List<Transactionrecord> listall(String cardNo);

   int selectId(String cardNo);


}
